<?php
class wmsmgr_mdl_wms extends channel_mdl_channel{

    public function table_name($real = false){
        if($real){
           $table_name = 'sdb_channel_channel';
        }else{
           $table_name = 'channel';
        }
        return $table_name;
	}

    public function get_schema(){
        return app::get('channel')->model('channel')->get_schema();
    }

    function _filter($filter,$tableAlias=null,$baseWhere=null){
         $where = " 1 ";

         if ($filter['not_o2o_node_type']) {
            $where.=" AND ".$filter['not_o2o_node_type'];
         }

        return $where ." AND ".parent::_filter($filter,$tableAlias,$baseWhere);
    }
}